package com.itheima.pojo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ExcelIgnoreUnannotated
@ToString
public class Excel {


        //订单号
        @ExcelProperty(value = "订单号")
        private String number;

        //订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
        @ExcelProperty(value = "订单状态")
        private String status;

        //用户名
        @ExcelProperty(value = "用户名")
        private String userName;

        //手机号
        @ExcelProperty(value = "手机号")
        private String phone;

        //地址
        @ExcelProperty(value = "地址")
        private String address;

        //下单时间
        @ExcelProperty(value = "下单时间")
        private LocalDateTime orderTime;

        //实收金额
        @ExcelProperty(value = "实收金额")
        private BigDecimal amount;
    }



